<?php if( $errmsg->size('reg') > 0 ) $errmsg->output('reg'); ?>

      <div class="updateShopHint">
      <p>发现店铺名称，logo，简介不正确？您可以帮助我们更新信息，如果更改有效，您将有机会获得贡献值奖励。</p>
      <p>注意：我们将审核用户所做的更改，恶意更改会被扣除贡献值，严重者将封锁帐号。</p></div>
      
      <div class="updateShop">
        <div class="updateShop01"></div>
        <div class="updateShop02">
        <h3 class="updateShop_title">更新信息：<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO,'sid='.$sid);?>"><?php echo $shopName; ?></a></h3>
    
	    <form method="POST" grayOnCommit=".updateShop" action="<?php echo edp_href_link(PAGENAME_MODIFY_SHOP,'sid='.$sid);?>" id="updateShopForm" >
		   <input type="hidden" name="action" value="updateShop" /><br />
	       <input type="hidden" name="sid" value="<?php if(edp_isset_session('sid')) secho( edp_getsession('sid') ); ?>" />
					
					
						            
            <table border="0" cellspacing="0" cellpadding="0" class="updateShopTable">
          
              <tr>
                <td class="updateShopInput_title">店铺名称：<b class="redfont">*</b></td>
                <td><input name="shopName" id="shopName" value="<?php if(isset($shopName)) echo $shopName; ?>"  class="input_1" />&nbsp;&nbsp;建议名称简短易辨认，没有空格，歧义或是特殊字符</td>
              </tr>
              
              
              <tr>
                <td class="updateShopInput_title">店铺链接：</td>
                <td><input name="logoURL" id="logoURL" value="<?php if(isset($logoURL)) echo $logoURL; ?>" class="input_6" />&nbsp;&nbsp;填入logo的链接地址&nbsp; <a id="shop_pre_btn" onclick="previewLogo();" style="color:blue" >点击预览</a>
                
                </td>
              </tr>
        
              <?php
               if(!edp_is_empty_string($logoURL)) {
                echo '<tr><td class="addShopInput_title"></td>';
                echo '<td><img src="'.$logoURL.'" class="item_list_pic_shop" id="shop_pre_pic"></td></tr>'; 
               } else{
                echo '<tr><td class="addShopInput_title"></td>';
                echo '<td><img src="'.STATIC_DOMAIN.'image/defaultpicture80.gif" class="item_list_pic_shop" id="shop_pre_pic"></td></tr>';                	               	
               }
               ?>   

                    
              <tr>
                <td class="updateShopInput_title"> 店铺简介：</td>
                <td>			
                <textarea name="shopDesc" class="textarea_comment" id="shopDesc" ><?php if(isset($shopDesc)) echo $shopDesc ; ?></textarea>
        	   </td>
              </tr>  
              
              <tr>
                <td class="updateShopInput_title">验 证 码：</td>
                <td><input type="text" name="vcode" id="vcode" class="vcode_input"/>&nbsp;&nbsp;              
              </tr>
              
               <tr>
                <td class="updateShopInput_title"></td>
                <td>
                <span id="vbox">
                <img id='vimg' src="" />&nbsp;&nbsp;<a href="javascript:refresh_vcode('vcode/?tiny='+Math.random());">换一张</td>
             	</span> 
              </tr>
                                
              <tr>
                <td colspan="2" align="center">
                <input type="button" class="btn_1" value="预览" id="preview_btn" onclick="previewIntro();"/>&nbsp;&nbsp;
                <input type="submit" class="btn_1" value="提交" id="submit_btn"/></td>
              </tr>
            </table>
             </form>
            </div>

            <div class="updateShop03"></div>
        
        </div>
        <div id="previewWindow" style="display: none; background-color: color;" >
        	<iframe id="previewFrame" style="width:100%; height:90%;"></iframe><br/>
        	<p align="center">
	        	<input type="button" class="btn_1" value="关闭" onclick="closePreview();" />
        	</p>
        </div>
        
